package com.jiantong.work.service.yangzhibaoxian;

import com.jiantong.work.model.yangzhibaoxian.Bankcard;
import com.jiantong.work.model.yangzhibaoxian.InsuranceApplication;
import io.terminus.common.model.Paging;
import io.terminus.common.model.Response;

import java.util.List;
import java.util.Map;

/**
 * Created by ThinkPad on 2017/9/5.
 */

public interface BankcardService {
    Response<Bankcard> findById(Long id);

    Response<List<Bankcard>> findByIds(List ids);

    Response<List<Bankcard>> list(Map map);

    Response<Paging<Bankcard>> ping(Integer offset, Integer limit, Map map);

    Boolean update(Bankcard  bankcard);

    Long create(Bankcard bankcard);

    Integer creates(List<Bankcard> bankcardList);

}
